package listener;

import javax.jms.Connection;
import javax.jms.Destination;
import javax.jms.Message;
import javax.jms.MessageListener;
import javax.jms.Session;

import serveur.Serveur;

public abstract class QT_Listener implements MessageListener {
	
	Connection      connection = null;
    Session         session    = null;
    Destination     dest       = null;
    Serveur      	serv       = null;
    
    public static final String Q_ORDRES             = "Q_Ordres";
	public static final String Q_REP_ORDRES         = "Q_Rep_Ordres";
	public static final String Q_TRANSACTIONS       = "Q_Transactions";
	public static final String Q_REP_TRANSACTIONS   = "Q_Rep_Transactions";
	public static final String Q_REQUETES      	    = "Q_Requetes";
	public static final String Q_REPONSES      	    = "Q_Reponses";
	public static final String T_RECHERCHES      	= "T_Recherches";
	
	public QT_Listener(Connection connection, Session session, Destination dest, Serveur serv) {
		super();
		this.connection = connection;
		this.dest = dest;
		this.session = session;
		this.serv = serv;
	}

	@Override
	public void onMessage(Message message) {
		// stub
	}

}
